﻿@{
    ViewBag.Title = "ListView";
    Layout = "~/Views/Shared/_LayoutAdmin.cshtml";
}

<style type="text/css">
    .style-select {
        margin-left: 600px;
    }

    .table {
        align-content: center;
    }
</style>
<div>
    <h1 style="margin-left: 300px;"> @Html.Raw(ViewBag.head)</h1>
    @using (Html.BeginForm())
    {
        <div style="visibility:hidden" id="x">@Html.Raw(ViewBag.x)</div>
        <div class="style-select">
            Danh sách :
            @Html.DropDownList("luachon", ViewData["DropDownItems"] as List<SelectListItem>)
            <input type="submit" value="Duyệt" name="submit" />
        </div>
    }
    <br />
    <br />
    <div class="table">
        <table>
           
            <tr style="height:35px; background-color:#808080;">
                
                <td>STT</td>                
                <td style="width:300px; text-align:center">Tên</td>
                <td style="width:200px; text-align: center">Ngày tháng</td>
                <td style="width: 100px; text-align: center">Trạng thái</td>
                <td style="width: 100px; text-align: center">Sửa</td>
                <td style="width: 100px; text-align: center">Xóa</td>
                
            </tr> 
            @Html.Raw(ViewBag.body)
           

        </table>
    </div>
</div>